public class Client {
    public static void main(String[] args) {
        LoggerFactory factory = new LoggerFactory();
        Logger consoleLogger = factory.getLogger("console");
        Logger fileLogger = factory.getLogger("file");
        consoleLogger.log("123");
        fileLogger.log("456");
    }
}
